﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplicationTangche.UC.金蝶付款单.Service
{
    public class 金蝶付款单Service
    {
    }
    public class FBillTypeID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
        public FBillTypeID(String xxx)
        {
            this.FNUMBER = xxx;
        }
    }

    public class FCONTACTUNIT
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
        public FCONTACTUNIT(String xxx)
        {
            this.FNumber = xxx;
        }
    }

    public class FRECTUNIT
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
        public FRECTUNIT(String xxx)
        {
            this.FNumber = xxx;
        }
    }

    public class FDepartment
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FCURRENCYID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FPURCHASEDEPTID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FPURCHASERGROUPID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FPURCHASERID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FScanPoint
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FPRESETBASE1
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FPRESETBASE2
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FSETTLECUR
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FSETTLEMAINBOOKID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FGYCUSTOMERID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FPRESETASSISTANT1
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FPRESETASSISTANT2
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FSETTLETYPEID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
        public FSETTLETYPEID()
        {

        }
        public FSETTLETYPEID(String xxx)
        {
            this.FNumber = xxx;
        }
    }

    public class FPURPOSEID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
        public FPURPOSEID()
        {

        }
        public FPURPOSEID(String xxx)
        {
            this.FNumber = xxx;
        }
    }

    public class FACCOUNTID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
        public FACCOUNTID()
        {

        }
        public FACCOUNTID(String xxx)
        {
            this.FNumber = xxx;
        }
    }

    public class FINNERACCOUNTID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FCashAccount
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FProvince
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNAME { get; set; }
    }

    public class FCity
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNAME { get; set; }
    }

    public class FDistrict
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNAME { get; set; }
    }

    public class FBankTypeRec
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNAME { get; set; }
    }

    public class FCOSTID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FEXPENSEDEPTID_E
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FMATERIALID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FPRICEUNITID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FBankDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FCollectionCurr
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FServiceChargeNo
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FServiceChargeBank
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FServiceChargeCurr
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FCNYTransactType
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FAgentBankAcnt
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FASSPURCHASEORDERItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FDetailID { get; set; }
    }

    public class FPAYBILLENTRYItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FSETTLETYPEID FSETTLETYPEID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPURPOSEID FPURPOSEID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPAYITEMTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPAYITEM { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double FPAYTOTALAMOUNTFOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPAYAMOUNTFOR_E { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FSETTLEDISTAMOUNTFOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FSETTLEPAYAMOUNTFOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FOVERSHORTAGEFOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FHANDLINGCHARGEFOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FREALPAYAMOUNTFOR_D { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FACCOUNTID FACCOUNTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FINNERACCOUNTID FINNERACCOUNTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOPPOSITEBANKACCOUNT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOPPOSITECCOUNTNAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOPPOSITEBANKNAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FCashAccount FCashAccount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSETTLENO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCOMMENT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPURCHASEORDERID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOpenAddressRec { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FProvince FProvince { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRecType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FCity FCity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCNAPS { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FDistrict FDistrict { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FBankTypeRec FBankTypeRec { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FCOSTID FCOSTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FEXPENSEDEPTID_E FEXPENSEDEPTID_E { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPAYAMOUNT_E { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPOSTDATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FMATERIALID FMATERIALID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPRICEUNITID FPRICEUNITID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPRICE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPURCHASEORDERNO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FMATERIALSEQ { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FORDERENTRYID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRuZhangType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPayType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSwiftCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FTaxAmt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNProvince { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNCity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNDistrict { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FDistrictCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FBankDetail FBankDetail { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCountry { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSignature { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FGYSALEORDERNO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCertType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FNOTVERIFICATEAMOUNT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCertNum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FENTRYPREPAYORDERNO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBankInvoice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNoteStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FUnique { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FTransacType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FMessageInstruct { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FServiceLevel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPayMethod { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCNYPayMethod { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FExContractNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FCollectionCurr FCollectionCurr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FCollectionAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FReceiveBankBIC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FReceiveBankCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FReceiveBranchCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FServiceChargeBear { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FServiceChargeNo FServiceChargeNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FServiceChargeBank FServiceChargeBank { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FServiceChargeCurr FServiceChargeCurr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCNAPSNum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FCNYTransactType FCNYTransactType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRMBPayMethod { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FByAgentBank { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FAgentBankAcnt FAgentBankAcnt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FAgentBankName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FAgentBankArea { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FAgentSWIFTCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FAgentBankAddress { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FReceiveBankClear { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FReceiveBranchClear { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FClearParameter { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOtherPartyAdress { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOtherPartyEmail { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOverseaPay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FLinkRowId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FASSPURCHASEORDERItem> FASSPURCHASEORDER { get; set; }
        public FPAYBILLENTRYItem()
        {

        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="fSETTLETYPEID">结算方式</param>
        /// <param name="fPURPOSEID">付款用途</param>
        /// <param name="FPAYTOTALAMOUNTFOR">应付金额</param>
        /// <param name="fACCOUNTID">我方银行账号</param>
        public FPAYBILLENTRYItem(String fSETTLETYPEID, String fPURPOSEID,double FPAYTOTALAMOUNTFOR, String fACCOUNTID)
        {
            this.FSETTLETYPEID = new FSETTLETYPEID(fSETTLETYPEID);
            this.FPURPOSEID = new FPURPOSEID(fPURPOSEID);
            this.FPAYTOTALAMOUNTFOR = FPAYTOTALAMOUNTFOR;
            this.FACCOUNTID = new FACCOUNTID(fACCOUNTID);
        }
    }

    public class FPAYPURPOSEID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FSRCCOSTID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FEXPENSEDEPTID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FSRCPRICEUNITID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FPAYBILLSRCENTRYItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FTAXAMOUNT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPAYPURPOSEID FPAYPURPOSEID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FSRCCOSTID FSRCCOSTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FEXPENSEDEPTID FEXPENSEDEPTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FSRCPRICEUNITID FSRCPRICEUNITID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FSRCPRICE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FSRCQTY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FTAXAMOUNTLOC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPLANPAYAMOUNTLOC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FREALPAYAMOUNTLOC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSRCREMARK { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSrcLinkRowId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FSETTLEAMOUNT { get; set; }
    }

    public class FINNERACCOUNTID_B
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FBILLID
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FBILLPAYABLEENTRYItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FINNERACCOUNTID_B FINNERACCOUNTID_B { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FBILLID FBILLID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FUSEDAMOUNTFOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FBPPARAMOUNT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPARLEFTAMOUNT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FUSEDAMOUNT { get; set; }
    }

    public class FInnerActId
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FReceivebleBillId
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FPayPurse
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FBCONTACTUNIT
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNumber { get; set; }
    }

    public class FBILLRECEIVABLEENTRYItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FInnerActId FInnerActId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FReceivebleBillId FReceivebleBillId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPayPurse FPayPurse { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FReturnAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FParAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FReturnAmountStd { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPARAMOUNTSTD { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBCONTACTUNITTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FBCONTACTUNIT FBCONTACTUNIT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FIsEndorse { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBankEndorse { get; set; }
    }

    public class FSETTLETYPEID_M
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FACCOUNTID_M
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FBANKDETAIL_M
    {
        /// <summary>
        /// 
        /// </summary>
        public string FNUMBER { get; set; }
    }

    public class FPAYBILLMORERECENTRYItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FSETTLETYPEID_M FSETTLETYPEID_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPAYAMOUNTFOR_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FPayAmount_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FACCOUNTID_M FACCOUNTID_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCOUNTRY_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNPROVINCE_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNCITY_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FNDISTRICT_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FBANKDETAIL_M FBANKDETAIL_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOPPOSITEBANKNAME_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOPENADDRESSREC_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCNAPS_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOPPOSITEBANKACCOUNT_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOPPOSITECCOUNTNAME_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCOMMENT_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSWIFTCODE_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRECTYPE_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRUZHANGTYPE_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPAYTYPE_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FURGENT_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FDistrictCode_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCertType_M { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCERTNUM_M { get; set; }
    }

    public class Model
    {
        /// <summary>
        /// 
        /// </summary>
        public int FID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FBillTypeID FBillTypeID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FDATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCONTACTUNITTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FCONTACTUNIT FCONTACTUNIT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRECTUNITTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FRECTUNIT FRECTUNIT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FDepartment FDepartment { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FISINIT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FCURRENCYID FCURRENCYID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FEXCHANGERATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FSETTLERATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPURCHASEDEPTID FPURCHASEDEPTID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPURCHASERGROUPID FPURCHASERGROUPID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPURCHASERID FPURCHASERID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FDOCUMENTSTATUS { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBUSINESSTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FScanPoint FScanPoint { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPRESETBASE1 FPRESETBASE1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPRESETBASE2 FPRESETBASE2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FCancelStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FISSAMEORG { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FIsCredit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FSETTLECUR FSETTLECUR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FIsWriteOff { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FMatchMethodID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FREALPAY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FREMARK { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBookingDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FTHIRDBILLNO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FWBSETTLENO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FISCARRYRATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FSETTLEMAINBOOKID FSETTLEMAINBOOKID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FGYSHOPNAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FGYCUSTOMERID FGYCUSTOMERID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FMoreReceive { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPRESETASSISTANT1 FPRESETASSISTANT1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FPRESETASSISTANT2 FPRESETASSISTANT2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPRESETTEXT1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPRESETTEXT2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FPAYBILLENTRYItem> FPAYBILLENTRY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FPAYBILLSRCENTRYItem> FPAYBILLSRCENTRY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FBILLPAYABLEENTRYItem> FBILLPAYABLEENTRY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FBILLRECEIVABLEENTRYItem> FBILLRECEIVABLEENTRY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FPAYBILLMORERECENTRYItem> FPAYBILLMORERECENTRY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="fBillTypeID">单据类型</param>
        /// <param name="FRECTUNITTYPE">收款单位类型</param>
        /// <param name="fRECTUNIT">收款单位</param>
        /// <param name="FCONTACTUNITTYPE">往来单位类型</param>
        /// <param name="fCONTACTUNIT">往来单位</param>
        /// <param name="fPAYBILLENTRYItems">分录</param>
        public Model(String fBillTypeID, String FRECTUNITTYPE, String fRECTUNIT,String FCONTACTUNITTYPE, String fCONTACTUNIT, List<FPAYBILLENTRYItem> fPAYBILLENTRYItems)
        {
            this.FBillTypeID = new FBillTypeID(fBillTypeID);
            this.FRECTUNITTYPE = FRECTUNITTYPE;
            this.FRECTUNIT = new FRECTUNIT(fRECTUNIT);
            this.FCONTACTUNITTYPE = FCONTACTUNITTYPE;
            this.FCONTACTUNIT = new FCONTACTUNIT(fCONTACTUNIT);
            this.FPAYBILLENTRY = new List<FPAYBILLENTRYItem>();
            foreach (FPAYBILLENTRYItem fPAYBILLENTRYItem in fPAYBILLENTRYItems)
            {
                this.FPAYBILLENTRY.Add(new FPAYBILLENTRYItem(fPAYBILLENTRYItem.FSETTLETYPEID.FNumber, fPAYBILLENTRYItem.FPURPOSEID.FNumber, fPAYBILLENTRYItem.FPAYTOTALAMOUNTFOR, fPAYBILLENTRYItem.FACCOUNTID.FNumber));
            }
        }
    }

    public class PayBillRoot
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> NeedUpDateFields { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> NeedReturnFields { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsDeleteEntry { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SubSystemId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsVerifyBaseDataField { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsEntryBatchFill { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ValidateFlag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string NumberSearch { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsAutoAdjustField { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string InterationFlags { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IgnoreInterationFlag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Model Model { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="fBillTypeID">单据类型</param>
        /// <param name="FRECTUNITTYPE">收款单位类型</param>
        /// <param name="fRECTUNIT">收款单位</param>
        /// <param name="FCONTACTUNITTYPE">往来单位类型</param>
        /// <param name="fCONTACTUNIT">往来单位</param>
        /// <param name="fPAYBILLENTRYItems">分录明细</param>
        public PayBillRoot(
            String fBillTypeID, 
            String FRECTUNITTYPE, 
            String fRECTUNIT, 
            String FCONTACTUNITTYPE, 
            String fCONTACTUNIT, 
            List<FPAYBILLENTRYItem> fPAYBILLENTRYItems
            )
        {
            this.Model = new Model(fBillTypeID, FRECTUNITTYPE, fRECTUNIT, FCONTACTUNITTYPE, fCONTACTUNIT, fPAYBILLENTRYItems);
        }
    }
}
